package com.test.task.dao;

import com.test.task.beans.Plan;
import com.test.task.beans.Task;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StaffDao {
    List<Plan> listPlan(Plan plan);

    List<Task> listTask();

    List<Task> queryTask(String username);

    void addPlan(Plan plan);

    Task findTask(int task_id);

    void deletePlan(Integer id);

    void feedback(Plan plan);

    Plan findPlan(int id);
}
